package com.codedancer.campus.common.constant;

/**
 * Api响应码
 */
public interface ResponseCode {
    /**
     * 成功的响应码
     */
    public static int SUCCESS_CODE = 0;

    /**
     * 参数错误响应码
     */
    public static int PARAM_ERR_CODE = 50001;

    /**
     * 业务错误响应码
     */
    public static int BUSINESS_ERR_CODE = 50002;

    /**
     * 权限错误
     */
    public static int AUTH_ERR_CODE = 50003;

    /**
     * 普通的异常错误
     */
    public static int NORMAL_ERR_CODE = 50004;

    /**
     * 第一次登陆
     */
    public static int LOGIN_FIRST_CODE = 50005;
}
